﻿<?xml version="1.0" encoding="utf-8" ?>
<Rules FriendlyName="Community Reliability Rules">
  <Rule TypeName="DisposeObjectBeforeOutOfScopeRule" Category="Community.Reliability" CheckId="ND2000">
    <Name>Local or parameter not correctly disposed.</Name>
    <Description>A local variable or a parameter is not correctly disposed</Description>
    <Url>@ms182139(VS.90).aspx</Url>
    <Resolution Name="Variable">The local or parameter '{0}' is not correctly disposed. Please call the dispose in a finally clause or use the using statement </Resolution>
    <Resolution Name="Construct">An disposable object is created using the contructor but the dispose method is not called.</Resolution>
    <Resolution Name="MethodCall">An disposable object is created using a factory method but the dispose method is not called.</Resolution>
    
    <MessageLevel Certainty="80">Warning</MessageLevel>
    <Email>
    </Email>
    <FixCategories>NonBreaking</FixCategories>
    <Owner />
  </Rule>
</Rules>